package br.upe.dsc.caeto.simulation;

import br.upe.dsc.caeto.core.hierarchy.Hierarchy;

public class Result {
	private Hierarchy hierarchy;
	private float hits;
	private float accessNumber;
	private float misses;
    private double missRate;
    private double acessTime;
    private double pdyn;
    private double pleak;
    private double edyn;
    private double eleak;
    private double wordsRead;
    private double memoryEnergy;
    private double missCycle;
    private double totalCycles;
    private double cacheEnergy;
    private double totalEnergy;
    
    public Result() {
    	
    }
    
    public Result(
    		Hierarchy hierarchy,
    		float hits, float accessNumber, float misses, double missRate,
    		double acessTime, double pdyn, double pleak, double edyn,
    		double eleak, double wordsRead, double memoryEnergy,
    		double missCycle, double totalCycles, double cacheEnergy,
    		double totalEnergy) {

    	this.hierarchy = hierarchy;
    	this.hits = hits;
    	this.accessNumber = accessNumber;
    	this.misses = misses;
    	this.missRate = missRate;
    	this.acessTime = acessTime;
    	this.pdyn = pdyn;
    	this.pleak = pleak;
    	this.edyn = edyn;
    	this.eleak = eleak;
    	this.wordsRead = wordsRead;
    	this.memoryEnergy = memoryEnergy;
    	this.missCycle = missCycle;
    	this.totalCycles = totalCycles;
    	this.cacheEnergy = cacheEnergy;
    	this.totalEnergy = totalEnergy;
    }

	public Hierarchy getHierarchy() {
		return hierarchy;
	}

	public float getAccessNumber() {
		return accessNumber;
	}

	public double getAcessTime() {
		return acessTime;
	}

	public double getCacheEnergy() {
		return cacheEnergy;
	}

	public double getEdyn() {
		return edyn;
	}

	public double getEleak() {
		return eleak;
	}

	public float getHits() {
		return hits;
	}

	public double getMemoryEnergy() {
		return memoryEnergy;
	}

	public double getMissCycle() {
		return missCycle;
	}

	public float getMisses() {
		return misses;
	}

	public double getMissRate() {
		return missRate;
	}

	public double getPdyn() {
		return pdyn;
	}

	public double getPleak() {
		return pleak;
	}

	public double getTotalCycles() {
		return totalCycles;
	}

	public double getTotalEnergy() {
		return totalEnergy;
	}

	public double getWordsRead() {
		return wordsRead;
	}
}
